package com.meihuak.cloud_ordering.bean;
/**
 * 窗口类
 */

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Business {
    @TableId(type = IdType.AUTO)private Integer id;
    private String icon;//图标
    private Integer num;//窗口号
    private String name;//窗口名
    private Integer canteenId;//食堂号
    private String blackboard;//公告
    //3.14日新增
    private Integer recommender;//推荐数
    private Integer avgOrderQuantityMonth;//每月平均下单量
    private Double starLevel;//星级评分
    private String userkey;
    private Integer avgwaittime;

    @Override
    public String toString() {
        return "Business{" +
                "id=" + id +
                ", num=" + num +
                ", name='" + name + '\'' +
                ", canteenId=" + canteenId +
                ", recommender=" + recommender +
                ", avgOrderQuantityMonth=" + avgOrderQuantityMonth +
                ", starLevel=" + starLevel +
                '}';
    }
}
